package com.mg.service;

import com.github.pagehelper.PageInfo;
import com.mg.dto.PurchaseSaleRecordDto;
import com.mg.dto.SimpleResult;
import com.mg.model.PurchaseSaleRecord;

/**
 * Created by mg1213 on 2018/3/18.
 */
public interface PurchaseSaleRecordService {
    PageInfo<PurchaseSaleRecordDto> selectPageInfo(PurchaseSaleRecordDto dto, int start, int limit);

    SimpleResult insertPurchaseSaleRecord(PurchaseSaleRecord record);
    SimpleResult updatePurchaseSaleRecord(PurchaseSaleRecord record);

    SimpleResult deletePurchaseSaleRecord(String ids);
}
